package com.ss.SmartStock.pojo.dto.product;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalDateTime;

public class ProductQueryAllRequest {
    private Long productId;

    private String productPicture;

    private String productType;

    private String productCategory;

    private Long productDetailsId;

    private Long productSupplier;

    private Integer productOwnerState;

    private Integer productCheckState;

    private Integer productOnlineState;

    private Long productPrice;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    private Long operator;

    private String remark;
    private String productName;

    private Integer raiType;

    private String description;

    private String richText;

    private String category;

    /**
     * 服务保障
     */
    private String serviceGuarantee;

    /**
     * 兑换限制
     */
    private Integer exchangeRestrictions;

    /**
     * 初始库存
     */
    private Integer inStock;

    /**
     * 库存
     */
    private Integer remainingStock;



    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime showTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime timeOn;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime timeOff;

    private String cityWhitelist;

    private String cityBlacklist;

    private Long supplier;


    /**
     * 管理人
     */
    private String userName;

    private static final long serialVersionUID = 1L;


}
